<?php
/***
 * admin interface
 * for modifying forums layout
 *
 **/

function default_increment() {
 return 10;
}

require_once 'tpl.php';
require_once 'thread.php';

// list all forums and drop down boxes
$start = (int)$_REQUEST['start'];
$inc = ((int)$_REQUEST['inc'] > 0) ? (int)$_REQUEST['inc'] : default_increment();
 
tplHead();
foreach( getFora(null, $start, $inc) as $forum ) {
  tplEditForum( $forum );
}
tplNewForum();
tplFoot();

?>
